package com.codemart.lanze.modules.cms.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.codemart.lanze.modules.cms.entity.ContentCat;
import com.codemart.lanze.modules.sys.vo.TreeNode;

/**
 * @Description: 内容分类
 * @Author: lanze
 * @Date: 2019-09-13
 * @Version: V1.0
 */
public interface IContentCatService extends IService<ContentCat> {

	/**
	 * @Description: 校验字段是否唯一
	 * @Author: lanze
	 * @Date: 2019-09-13
	 */
	public ContentCat findByName(String name);

	public List<TreeNode> findTreeList();
}
